#ifndef FILEIO_H
#define FILEIO_H
#include <QByteArray>

class FileIO
{
public:
    FileIO();
    void write_int(QByteArray *out, quint32 n);
    void insert_int(QByteArray *out,int index, quint32 n);
    void write_short(QByteArray *out, quint16 n);
    void write_chars(QByteArray *out, const char *s);
    void write_chars_bin(QByteArray *out, const char *s, int count);
};

#endif // FILEIO_H
